var fs = require('fs')

function GetCode() {
    var code = "";
    code += fs.readFileSync(__dirname+'\\Elements.js') + "\r\n"
    code += fs.readFileSync(__dirname+'\\HTMLElements.js') + "\r\n"
    code += fs.readFileSync(__dirname+'\\CSSStyleDeclarations.js') + "\r\n"
    code += fs.readFileSync(__dirname+'\\HTMLDocuments.js') + "\r\n"
    code += fs.readFileSync(__dirname+'\\HTMLDivElements.js') + "\r\n"
    code += fs.readFileSync(__dirname+'\\HTMLAnchorElements.js') + "\r\n"
    code += fs.readFileSync(__dirname+'\\HTMLIFrameElements.js') + "\r\n"
    code += fs.readFileSync(__dirname+'\\HTMLFormElements.js') + "\r\n"
    code += fs.readFileSync(__dirname+'\\HTMLSpanElements.js') + "\r\n"
    code += fs.readFileSync(__dirname+'\\HTMLCanvasElements.js') + "\r\n"
    code += fs.readFileSync(__dirname+'\\HTMLBodyElements.js') + "\r\n"
    code += fs.readFileSync(__dirname+'\\HTMLHeadElements.js') + "\r\n"
    code += fs.readFileSync(__dirname+'\\HTMLImageElements.js') + "\r\n"
    code += fs.readFileSync(__dirname+'\\HTMLScriptElements.js') + "\r\n"
    code += fs.readFileSync(__dirname+'\\HTMLInputElements.js') + "\r\n"
    code += fs.readFileSync(__dirname+'\\HTMLButtonElements.js') + "\r\n"
    code += fs.readFileSync(__dirname+'\\HTMLHtmlElements.js') + "\r\n"
    code += fs.readFileSync(__dirname+'\\HTMLOptionElements.js') + "\r\n"
    code += fs.readFileSync(__dirname+'\\HTMLStyleElements.js') + "\r\n"
    code += fs.readFileSync(__dirname+'\\HTMLTableCaptionElements.js') + "\r\n"
    code += fs.readFileSync(__dirname+'\\HTMLTableElements.js') + "\r\n"
    code += fs.readFileSync(__dirname+'\\HTMLTableCellElements.js') + "\r\n"
    code += fs.readFileSync(__dirname+'\\HTMLTableRowElements.js') + "\r\n"
    code += fs.readFileSync(__dirname+'\\HTMLTableSectionElements.js') + "\r\n"
    code += fs.readFileSync(__dirname+'\\HTMLProgressElements.js') + "\r\n"
    code += fs.readFileSync(__dirname+'\\HTMLParagraphElements.js') + "\r\n"
    code += fs.readFileSync(__dirname+'\\HTMLSelectElements.js') + "\r\n"
    code += fs.readFileSync(__dirname+'\\HTMLDetailsElements.js') + "\r\n"
    code += fs.readFileSync(__dirname+'\\HTMLObjectElements.js') + "\r\n"

    return code;
}

module.exports = {
    GetCode
}
